/**
 */
package com.mxdx.edu.model;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

/**
 * 学习经历Entity
 * @author guoxc
 * @version 2018-02-13
 */
public class LearningExperienceInfo {
	
	private String id;
	private String studentId;		// 学生id
	private String experienceType;		// 经历类型
	private String schoolOrWorkUnit;		// 学校或工作单位 学习或任职
	private String reterence;		// 证明人
	private String period;  //起止时间
	private Date createDate;//创建时间
	private Date updateDate;//更新时间
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Length(min=0, max=32, message="学生id长度必须介于 0 和 32 之间")
	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	
	@Length(min=0, max=4, message="经历类型长度必须介于 0 和 4 之间")
	public String getExperienceType() {
		return experienceType;
	}

	public void setExperienceType(String experienceType) {
		this.experienceType = experienceType;
	}
	
	@Length(min=0, max=100, message="学校或工作单位长度必须介于 0 和 100 之间")
	public String getSchoolOrWorkUnit() {
		return schoolOrWorkUnit;
	}

	public void setSchoolOrWorkUnit(String schoolOrWorkUnit) {
		this.schoolOrWorkUnit = schoolOrWorkUnit;
	}
	
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public String getReterence() {
		return reterence;
	}

	public void setReterence(String reterence) {
		this.reterence = reterence;
	}
	
}